package com.myweb.service.sys;

import java.util.List;
import java.util.Map;

import com.myweb.entity.sys.SysUser;
import com.myweb.service.ServiceException;

/**
 * 
 * @TODO 用户业务层接口
 * @author roye
 * @date Apr 17, 2013 11:43:24 AM
 * @version V1.0
 */
public interface ISysUserService {
	
	/**
	 * @todo  登录查询用户
	 * @author roye
	 * @date Apr 17, 2013 4:48:04 PM
	 * @param   
	 * @return SysUser   
	 * @throws
	 */
	public SysUser getSysUser(String username,String pwd)throws ServiceException;
	
	
	/**
	 * 查询所有用户总数
	 * @param map
	 * @return
	 * @throws ServiceException
	 */
	public int querySysUserCount(Map map)throws ServiceException;
	
	
	/**
	 * 查询所有用户
	 * @param map
	 * @return
	 * @throws ServiceException
	 */
	public List<SysUser> querySysUserList(Map map)throws ServiceException;

}
